package framework.util;

public class locationUtil2 {

	public double distance(double a) {
		double distance;
		Location locationA = new Location("point A");
		locationA.setLatitude(latA);
		locationA.setLongitude(lngA);
		Location locationB = new Location("point B");
		locationB.setLatitude(latB);
		LocationB.setLongitude(lngB);
		distance = locationA.distanceTo(locationB);
	}
	
	public String betweenAnB(double a) {
		
		float[] results = new float[3];
		Location location = new Location("start");
		location.distanceBetween(
		startLatitude, 
		startLongitude, 
		endLatitude,
		endLongitude,
		results);
		Sring mes = Float.toString(results[0]);
		return mes;

	}

}
